package common.message.serverSend;

import common.message.*;
import common.types.GenderType;

public class UserProfileMsg extends Message{
	
	private static final long serialVersionUID = -783889453536792474L;
	
	private int queryUserID, age;
	private String name;
	private GenderType gender;
	
	public UserProfileMsg(int uid, int queryUID, String n, GenderType g, int a) {
		super(getServerFlag(), getUserFlag() + Integer.toString(uid));
		queryUserID = queryUID;
		name = n;  gender = g;  age = a;
	}
	
	public int getQueryUserID() { return queryUserID; }
	public String getName() { return name; }
	public GenderType getGender() { return gender; }
	public int getAge() { return age; }
	
}
